跪求!!cout<<"max(‘3’,‘5’)is"<<max(‘3’,‘5’)<<endl;这句话哪错了啊
来源:百度知道 编辑:UC知道 时间:2024/04/28 01:01:06
请大家帮忙啊
max(‘3’,‘5’)吧
max
template<class T>
const T& max(const T& x, const T& y);
template<class T, class Pred>
const T& max(const T& x, const T& y, Pred pr);
The first template function returns y if x < y. Otherwise, it returns x. T need supply only a single-argument constructor and a destructor.
The second template function behaves the same, except that it replaces operator<(X, Y) with pr(X, Y).
Microsoft-Specific:
To avoid conflicts with min and max in WINDEF.H, use _MIN and _MAX instead. These macros evaluate to _cpp_min and _cpp_max, respectively.
END Microsoft-Specific
只有这个地方可能错
跪求!!cout<<"max(‘3’,‘5’)is"<<max(‘3’,‘5’)<<endl;这句话哪错了啊
为何可以 cout<<endl;
编程cout<<x+y为什么错?
C++cout<<'\a';是什么意思啊?
关于指针的输出cout<<p的提问
{cout<<this->stockcode<<this->quan<<this->price<<endl;}
#define P(EX) cout << #EX << ":" << EX << endl;
c++ cout<<endl<<endl 为何有两个endl
C++中cout<<x+ : :x<<end1是什么意思?
cout<<a<<'' '',这是什么意思啊?